package com.j2ee.xml.document;

public class DocumentFactory {
	
	private Document document ;

	public void setDocument(Document document) {
		this.document = document;
	}
	
	public void read() {
		document.read() ;
	}
	
	public void write() {
		document.write() ;
	}

}
